package com.easyexcel.service.impl;

import com.easyexcel.dao.Achievement;
import com.easyexcel.mapper.AchievementMapper;
import com.easyexcel.service.AchievementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Copyright (C), 2018-2020
 * @FileName: AchievementServiceImpl
 * @Author: 杜景涛
 * @Date: 2020/12/24 14:29
 * @Description:
 */
@Service
public class AchievementServiceImpl implements AchievementService {
    @Autowired
    private AchievementMapper achievementMapper;

    @Override
    public void insertBatch(List<Achievement> achievements) {
        achievementMapper.insertBatch(achievements);
    }
}
